home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1989 / Nov 89 / 0098-Re Son of Segment>32-Nov89 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.0 KB  |  31 lines  |  [TEXT/GEOL]

  1. Item    7263179                         16-Nov-89        11:04
  2.  
  3. From:   KNEPPER                         Knepper, Christopher
  4.  
  5. To:     V0198                           Schlage, Ed Mahoney,Proj Leader,VAR
  6.  
  7. cc:     MACAPP.TECH$                    MacApp Technical
  8.  
  9. Sub:    Re: Son of Segment>32k
  10.  
  11. Ed,
  12.  
  13. >However, my chief problem lies in my having to use a database package
  14. >available to me only in object code and it insists in being in the main
  15. >segment.
  16.  
  17. I recommend MPW's Lib tool. It will allow you to take any number of object
  18. files as input and remap the segmentation. So...you could pass in the database
  19. package as input to Lib and then use Lib's "-sn" option to remap the routines
  20. that insist on being in the main segment to another segment, say "DBRes".
  21.  
  22. Lib             # combine object files into a library file
  23. Lib [option…] objectFile…  ≥ progress
  24.     -sn oldSeg=newSeg       # change segment name oldSeg to newSeg
  25.  
  26. Link will then allow you to pass that lib'd file as input. Then, if necessary,
  27. add that segment to your "seg!" resource.
  28.  
  29. -Chris
  30.  
  31.